package com.serverlite.framework.dao;

public class MySQL {
    public static String pageSql(String sql, int pageNo, int pageSize) {
        StringBuilder sb = new StringBuilder(256);
        sb.append(sql).append(" limit ").append(pageNo * pageSize).append(", ")
                .append(pageSize);
        return sb.toString();
    }
}
